package com.msb.servicedriveuser.service;

import com.msb.commons.dto.DriverUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.commons.response.ResponseResult;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chshh
 * @since 2022-10-25
 */
public interface DriverUserService extends IService<DriverUser> {
    public ResponseResult addDriverUser(DriverUser driverUser);
    public ResponseResult updateDriverUser(DriverUser driverUser);
    public ResponseResult<DriverUser> getDriverUserByPhone(String driverPhone);
    ResponseResult isAvailableDriver(String cityCode);

    ResponseResult getAvailableDriver(Long carId);
}
